#pragma once
#include <QGLWidget>
#include <DEngine.h>

class QGLWindow: public QGLWidget
{
public: DEngine m_engine;

public:
	QGLWindow(QWidget *pwg);
	~QGLWindow();

	virtual void initializeGL();
	virtual void resizeGL(int w, int h);
	virtual void paintGL();
	void QGLWindow::paintEvent(QPaintEvent *pe);
	
	private slots:
	//void keyPressEvent(QKeyEvent* pe);
};